package com.wlit;

/**
 * 亚松的寄存器的值
 */
public class YsConst {

    /**
     * 报警器的功能开启~~~寄存器为0x0010
     */
    public static final int OPEN_SOUND = 0x0001;
    public static final int OPEN_LIGHT = 0x0002;
    public static final int OPEN_SOUND_AND_LIGHT = 0x0003;


    /**
     * 音量等级~~~寄存器为0x0011
     */
    public static final int VOLUME_LEVEL1 = 0x0001;
    public static final int VOLUME_LEVEL2 = 0x0002;
    public static final int VOLUME_LEVEL3 = 0x0003;
    public static final int VOLUME_LEVEL4 = 0x0004;
    public static final int VOLUME_LEVEL5 = 0x0005;
    public static final int VOLUME_LEVEL30 = 0x001e;

    /**
     * 语音文件~~~寄存器为0x0012
     * 下面是第一个文件夹第N个文件
     */
    public static final int SOUND_FILE1 = 0x0101;
    public static final int SOUND_FILE2 = 0x0102;
    public static final int SOUND_FILE3 = 0x0103;
    public static final int SOUND_FILE4 = 0x0104;
    public static final int SOUND_FILE5 = 0x0105;
    public static final int SOUND_FILE6 = 0x0106;
    public static final int SOUND_FILE7 = 0x0107;
    public static final int SOUND_FILE8 = 0x0108;


    /**
     * 声音播放模式~~~寄存器为0x0013
     */
    public static final int PLAY_LOOP = 0x0001;
    public static final int PLAY_SINGLE = 0x0002;


    /**
     * 灯光模式~~~寄存器为0x0014
     */
    public static final int LIGHT_STROBE = 0x0101;
    public static final int LIGHT_FEQUENCY = 0x0102;
    public static final int LIGHT_ROTATE = 0x0103;
    public static final int LIGHT_LEFT_RIGHT = 0x0104;
    public static final int LIGHT_KEEP = 0x0105;
    public static final int LIGHT_STROBE_SYNC = 0x0201;
    public static final int LIGHT_FEQUENCY_SYNC = 0x0202;
    public static final int LIGHT_ROTATE_SYNC = 0x0203;
    public static final int LIGHT_LEFT_RIGHT_SYNC = 0x0204;
    public static final int LIGHT_KEEP_SYNC = 0x0105;

}
